<?php

class User extends Model
{
  // public fields
  public $id;
  public $email;
  public $firstName;
  public $lastName;
  public $image;

  // protected fields
  protected $guid;

  // private fields
  private $password;

  public function setPassword($value){
    $this->password = $value;
  }

  public function setGuid($value){
    $this->guid = $value;
  }

  public function setId($value){
    $this->image = "u{$value}x96.jpg";
    $this->id = $value;
  }
}
